package com.xique.door.bean.transfer;

import com.xique.door.bean.request.buildHouse.UserSelectHouseInfoRequest;
import com.xique.door.bean.vo.user.UserHouseVo;
import com.xique.door.service.IBuildHouseUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author: caogq
 * @Date: 2022/2/24 14:54
 * @Description:
 */
@Component
public class UserHouseTransfer {

    @Autowired
    private IBuildHouseUserService buildHouseUserService;
    public List<UserHouseVo> transferUserListVo(List<Long> userIds){
        UserSelectHouseInfoRequest request = new UserSelectHouseInfoRequest();
        request.setUserIds(userIds);
        List<UserHouseVo> houseBuildingAreaDaos = buildHouseUserService.selectHouseBuildingAreaInfo(request);
        return houseBuildingAreaDaos;
    }
}
